<!--
 * Copyright 2011 The PlayN Authors
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
-->
<!DOCTYPE html>
<html>
  <head>
    <title>PlayN Quake II Demo Port</title>
  </head>
  <body style="background-color:#000;color:#ddd;border:0;margin:0;padding:0">
    <div id="splash" style="margin:20px">
      <tt>PlayN Quake II Demo Port.<br><br>
Tested in Google Chrome 26; if this does not start in your browse, try Chrome.<br>
If you have a zip.js patch for Firefox, let us know!<br>
Source code location: <a style="color:#ddd" href="https://code.google.com/p/quake2-playn-port/">code.google.com/p/quake2-playn-port</a><br>
<br>
Download Quake II Resources (via CORS) from:<br>
</tt> <input id="source_url" size="100" value="http://commondatastorage.googleapis.com/quake2demo/q2-314-demo-x86.exe"> 
       <input id="download_button" type="button" value="Start" onclick="this.disabled=true; downloadAndUnpack()"><br>
<pre id="log">
</pre><div id="log-bottom"></div>
    </div>
    <div style="margin-left: auto;
  margin-right: auto; width:800px;height:500px" id='playn-root'></div>
    <script src="zip.js"></script>
    <script src="download.js"></script>
    <script src="PlayNQuake/PlayNQuake.nocache.js"></script>
  </body>
</html>
